package com.dianxin.farm.mapper.customer;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.dianxin.farm.entity.EnterpriseInfo;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author xukai
 * @since 2020-11-30
 */
public interface EnterpriseInfoMapper extends BaseMapper<EnterpriseInfo> {


    EnterpriseInfo selectForUpdate(@Param("id")Integer id);

    void editBalance(@Param("id")Integer id,
                     @Param("balance")BigDecimal balance);

}
